package com.bestcem.xm.txtanls.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * 文本分析项目训练状态枚举
 *
 * @author XiaoYunSong <ys.xiao@idiaoyan.com>
 * @version v1.0
 * @date 2021/6/8 18:11
 */
@Getter
@ToString
public enum TrainStatusEnum {
    /**
     * 已完成
     */
    FINISHED("0", 0),
    /**
     * 未完成
     */
    UNFINISHED("1", 1);

    private final String name;

    private final int index;

    TrainStatusEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }
}
